<?php
/**
 * Enter description here...
 *	
 * STATUS_DISABLE 0 
 * STATUS_ABLE 1 
 */
class Meminfo extends CActiveRecord {
	public static function model($className = __CLASS__) {
		return parent::model ( $className );
	}
	
	public function tableName() {
		return '{{member_info}}';
	}
	
	public function rules() {
		return array (
			
			array (
				
				'uuid,logintimes', 
				'required', 
				'message' => '不能为空' 
			), 
			array (
				
				'question,answer,regip,regtime,lastloginip,lastlogintime', 
				'safe' 
			) 
		);
	}
	
	public function attributeLabels() {
		return array (
			
			'id' => 'id', 
			'question' => 'question', 
			'answer' => 'answer', 
			'regip' => 'regip', 
			'regtime' => 'regtime', 
			'lastloginip' => 'lastloginip', 
			'lastlogintime' => 'lastlogintime' 
		);
	}
}
?>
